<!-- Start: page-top-outer -->
<div id="page-top-outer">    

<!-- Start: page-top -->
<div id="page-top">

	<!-- start logo -->
	<div id="logo">
		<a href=""><img src="<?php echo base_url();?>asset/admin/images/header/headerbp3ti.png" width="162" height="86" alt="" /></a>
	</div>
	<div id="title">
		<p id="title-top">Sistem Informasi Keuangan</p>
		<p id="title-bottom">Balai Penyedia dan Pengelola Pembiayaan Telekomunikasi dan Informatika (BP3TI)</p>
	</div>
	
	<!-- end logo -->
	
	<!--  start top-search -->
	<div id="top-search">
		<!--
		<table border="0" cellpadding="0" cellspacing="0">
		<tr>
		<td><input type="text" value="Search" onblur="if (this.value=='') { this.value='Search'; }" onfocus="if (this.value=='Search') { this.value=''; }" class="top-search-inp" /></td>
		<td>
		 
		<select  class="styledselect">
			<option value="">All</option>
			<option value="">Products</option>
			<option value="">Categories</option>
			<option value="">Clients</option>
			<option value="">News</option>
		</select> 
		 
		</td>
		<td>
		<input type="image" src="<?php echo base_url();?>asset/admin/images/shared/top_search_btn.gif"  />
		</td>
		</tr>
		</table>
		-->
		<div id="nav-right">

		
<!--		Tanggal & jam -->
<script type="text/javascript">
function date_time(id)
{
        date = new Date;
        year = date.getFullYear();
        month = date.getMonth();
        months = new Array('Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember');
        d = date.getDate();
        day = date.getDay();
        days = new Array('Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu');
        h = date.getHours();
        if(h<10)
        {
                h = "0"+h;
        }
        m = date.getMinutes();
        if(m<10)
        {
                m = "0"+m;
        }
        s = date.getSeconds();
        if(s<10)
        {
                s = "0"+s;
        }
        result = ''+days[day]+', '+d+' '+months[month]+' '+year+' - '+h+':'+m+':'+s;
        document.getElementById(id).innerHTML = result;
        setTimeout('date_time("'+id+'");','1000');
        return true;
}
</script>

<span id="date_time" style="color:#fff; font-size:13px;"></span> 
<script type="text/javascript">window.onload = date_time('date_time');</script>
			<!---->
			<!--
			<div class="showhide-account"><img src="<?php echo base_url();?>asset/admin/images/shared/nav/nav_myaccount.gif" width="93" height="14" alt="" /></div>
			-->
			<!---->
			<a href="<?php echo site_url();?>/auth/logout" id="logout"><img src="<?php echo base_url();?>asset/admin/images/shared/nav/nav_logout.gif" width="64" height="14" alt="" /></a>
			<div class="clear">&nbsp;</div>
		
			<!--  start account-content -->	
			<div class="account-content">
			<div class="account-drop-inner">
				<a href="" id="acc-settings">Settings</a>
				<div class="clear">&nbsp;</div>
				<div class="acc-line">&nbsp;</div>
				<a href="" id="acc-details">Personal details </a>
				<div class="clear">&nbsp;</div>
				<div class="acc-line">&nbsp;</div>
				<a href="" id="acc-project">Project details</a>
				<div class="clear">&nbsp;</div>
				<div class="acc-line">&nbsp;</div>
				<a href="" id="acc-inbox">Inbox</a>
				<div class="clear">&nbsp;</div>
				<div class="acc-line">&nbsp;</div>
				<a href="" id="acc-stats">Statistics</a> 
			</div>
			</div>
			<!--  end account-content -->
		
	</div>
	</div>
	
	
 	<!--  end top-search -->
 	<div class="clear"></div>

</div>
<!-- End: page-top -->

</div>


<!--  start nav-outer-repeat................................................................................................. START -->
 
<!--  start nav-outer -->
 
<div style ="height:50px; padding-top:10px; background: #393939;"> 

<div class="clear">&nbsp;</div>
 	 <link type="text/css" href="<?=base_url()?>asset/admin/js/apycom/menu.css" rel="stylesheet" />
    <script type="text/javascript" src="<?//=base_url()?>asset/admin/js/apycom/jquery.js"></script>
    <script type="text/javascript" src="<?=base_url()?>asset/admin/js/apycom/menu.js"></script>
	
<div id="menu">
    <ul class="menu">
		<li><a href="<?=base_url()?>index.php/dashboard/"><span>Dashboard</span></a></li> 
		
		<li><a href="#" class="parent"><span>Anggaran</span></a>
		<ul>
			<?
			if ($privilage['mcm'][0] == 1){
				echo '<li><span>'.anchor('anggaran/index','Anggaran').'</span></li>';
			}else{
				echo '<li><span>Anggaran</span></li>';
			}
			?>
		</ul>
		</li>
		
		<li><a href="#" class="parent"><span>Pendapatan</span></a>
            <ul>
				<?php 
					if ($privilage['mcm'][0] == 1){
						echo '<li>'.anchor('mcm/index','MCM').'</li>';
					}else{
						echo '<li>MCM</li>';
					} 
				?> 	
				<?php
						if ($privilage['posting_mcm'][0] == 1){ 
							echo '<li class="icon_blog">'.anchor('mcm/list_posting_ak','Posting MCM').'</li>'; 
						}else{
							echo '<li class="icon_blog">Posting MCM</li>'; 
						}
						
						if ($privilage['penerimaan_kas'][0] == 1){ 
							echo '<li class="icon_blog">'.anchor('penerimaan_kas/index','Penerimaan Kas').'</li>'; 
						}else{
							echo '<li class="icon_blog">Penerimaan Kas</li>'; 
						}
					?>
                <?php
					if ($privilage['piutang'][0] == 1){
						echo '<li>'.anchor('piutang/index','Piutang').'</li>'; 
					}else{
						echo '<li>Piutang</li>'; 
					}
				?> 	
				<?php
					if ($privilage['piutang'][0] == 1){
						echo '<li>'.anchor('piutang/list_pendapatan','List Pendapatan').'</li>'; 
					}else{
						echo '<li>List Pendapatan</li>'; 
					}
				?> 
            </ul>
        </li>
		
		<li><a href="#" class="parent"><span>Belanja</span></a>
            <ul>
                <?php
					if ($privilage['pengeluaran_kas'][0] == 1){ 
						echo '<li class="icon_blog">'.anchor('pengeluaran_kas/index','Pengeluaran Kas').'</li>'; 
					}else{
						echo '<li class="icon_blog">Pengeluaran Kas</li>'; 
					}
				?>
               
            </ul>
        </li>
		
		<li><a href="#" class="parent"><span>Akuntansi</span></a>
            <ul>
				<?php 
					if ($privilage['kas_awal'][0] == 1){ 
						echo '<li><span>'.anchor('kas_awal/index','Akun Awal').'</span></li>'; 
					}else{
						echo '<li><span>Akun Awal</span></li>'; 
					}
				?>
				<li><a href="#" class="parent"><span>Jurnal</span></a>
				<ul>
					<?php
						if ($privilage['jurnal_umum'][0] == 1){ 
							echo '<li>'.anchor('jurnal_umum/index','Jurnal Umum').'</li>'; 
						}else{
							echo '<li>Jurnal Umum</li>'; 
						}

						
						if ($privilage['jurnal_penyesuaian'][0] == 1){
							echo '<li>'.anchor('jurnal_penyesuaian/index','Jurnal Penyesuaian').'</li>'; 
						}else{
							echo '<li>Jurnal Penyesuaian</li>'; 
						}	
						
						if ($privilage['jurnal_koreksi'][0] == 1){ 
							echo '<li>'.anchor('jurnal_koreksi/index','Jurnal Koreksi').'</li>'; 
						}else{
							echo '<li>Jurnal Koreksi</li>'; 
						}
						
						if ($privilage['mutasi_kas'][0] == 1){ 
							echo '<li>'.anchor('mutasi_kas/index','Mutasi Kas').'</li>'; 
						}else{
							echo '<li>Mutasi Kas</li>'; 
						}
					?>
				</ul>
				</li>
				<?php
					if ($privilage['buku_besar'][0] == 1){ 
						echo '<li>'.anchor('buku_besar/index','Buku Besar').'</li>'; 
					}else{
						echo '<li>Buku Besar</li>'; 
					}
				?>
				<?php
					if ($privilage['trial_balance'][0] == 1){ 
						echo '<li><span>'.anchor('trial_balance/index','Trial Balance').'</span></li>'; 
					}else{
						echo '<li><span>Trial Balance</span></li>'; 
					}
				?>
				
				<li><a href="#" class="parent"><span>Laporan</span></a>
				<ul>
				<?php
					if ($privilage['laporan_neraca'][0] == 1){ 
						echo '<li>'.anchor('laporan_neraca/index','Laporan Neraca').'</li>'; 
					}else{
						echo '<li>Laporan Neraca</li>'; 
					}
					
					if ($privilage['laporan_buku_kas'][0] == 1){ 
						echo '<li>'.anchor('laporan_buku_kas/index','Laporan Arus Kas').'</li>'; 
					}else{
						echo '<li>Laporan Arus Kas</li>'; 
					}
					
					if ($privilage['laporan_kegiatan'][0] == 1){ 
						echo '<li>'.anchor('laporan_kegiatan/index','Laporan Kegiatan Operasional / Aktivitas').'</li>'; 
					}else{
						echo '<li>Laporan Kegiatan Operasional / Aktivitas</li>'; 
					}
					
					if ($privilage['laporan_realisasi'][0] == 1){ 
						echo '<li>'.anchor('laporan_realisasi/index','Laporan Realisasi Anggaran').'</li>'; 
					}else{
						echo '<li>Laporan  Realisasi Anggaran</li>'; 
					}
				?>
				</ul>
				</li>
            </ul>
        </li>	

		
		<li><a href="#nogo"><span>Preferensi</span></a> 
			<ul>
				<li>
				<?php if ($privilage['master_akun'][0] == 1){ 
					echo '<li class="icon_blog">'.anchor('master_akun','Master Akun').'</li>'; 
				}else{
					echo '<li class="icon_blog">Master Akun</li>'; 
				} ?>
				</li>
				
				<li>
				<?php if ($privilage['master_parawaba'][0] == 1){ 
					echo '<li class="icon_blog">'.anchor('master_parawaba','Master Parawaba').'</li>'; 
				}else{
					echo '<li class="icon_blog">Master Parawaba</li>'; 
				} ?>
				</li>
				<?php
					if ($privilage['users_level'][0] == 1){ 
						echo '<li class="icon_blog">'.anchor('users_level','User Level').'</li>'; 
					}else{
						echo '<li class="icon_blog">User Level</li>'; 
					}
					
					if ($privilage['backup_database'][0] == 1){ 
						echo '<li>'.anchor('backup_database/index','Backup Database').'</li>'; 
					}else{
						echo '<li>Backup Database</li>'; 
					}
					
				?>
			</ul> 
		</li> 
	</ul>

</div> 
 </div>
<div class="clear"></div>
<!--  start nav-outer -->
</div>
 <div class="clear"></div>